package com.mxf.code.controller;

import com.mxf.code.entity.AppUser;
import com.mxf.code.service.AppUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * app用户表(AppUser)表控制层
 *
 * @author makejava
 * @since 2023-02-20 10:19:32
 */
@RestController
@RequestMapping("appUser")
public class AppUserController {
    /**
     * 服务对象
     */
    @Resource
    private AppUserService appUserService;


    @GetMapping("list")
    public List<AppUser> listData(){
        return appUserService.listData();
    }
}

